package com.blue.blog.api.service;

import com.blue.blog.api.pojo.Blog;

import java.util.List;

public interface BlogService {
    List<Blog> findAllBlog();

    Integer saveBlog(Blog blog);

    Integer updateBlog(Blog blog);

    Integer deleteBlogById(Long id);

    Blog findBlogById(Long id);
}
